package org.unicat.service;

import org.unicat.model.Teacher;
import org.unicat.model.UserInfo;

import java.util.List;

public interface TeacherService {
    List<Teacher> findAllTeacher();

    Teacher findTeacherByName(String name);

    UserInfo getTearcherInfo(Teacher teacher);

    void addTeacher(UserInfo teacher);

    void updateTeacherInfo(UserInfo teacher);

    void deleteTeacher(Teacher teacher);
}
